﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DynORM.Interfaces
{
    //its implementation usually has value-based equality semantics
    public interface IRelationDescriptor : IORMObjectDescriptor
    {
        RelationType RelationType { get; }
        //string UniqueName { get; set; }
        string Name { get; }

        string TableName { get; }
        IDictionary<int, IFieldDescriptor> FieldDescriptors { get; }
    }
}
